package com.yanqu.road.entity.log;

import com.yanqu.road.entity.FieldTypeAnnotation;

/**
 * @Description 海上争霸 每轮结束船只数据
 * @Author cwq
 * @Data 2022/2/22 21:31
 */
@FieldTypeAnnotation(tableName = "t_c_ck_activity_seacraftsouthsea_round_ship_log",desc = "南海丝路-每轮结束船只数据",autoSave = true,uploadCk = true,isCross = true)
public class LogSeacraftSouthSeaRoundShip extends ServerBaseLog{
    @FieldTypeAnnotation(desc = "活动id",isIndex = true)
    private int activityId;
    @FieldTypeAnnotation(desc = "商会id",isIndex = true)
    private String unionId;
    @FieldTypeAnnotation(desc = "轮次 ")
    private int round;
    @FieldTypeAnnotation(desc = "船只等级")
    private int lv;
    @FieldTypeAnnotation(desc = "行驶路程")
    private long distance;
    @FieldTypeAnnotation(desc = "船只总耐久")
    private long totalDurable;
    @FieldTypeAnnotation(desc = "船只到达时间")
    private long arrivalTime;

    public LogSeacraftSouthSeaRoundShip(int activityId, String unionId, int round, int lv, long distance, long totalDurable, long arrivalTime, long time) {
        this.activityId = activityId;
        this.unionId = unionId;
        this.round = round;
        this.lv = lv;
        this.distance = distance;
        this.totalDurable = totalDurable;
        this.arrivalTime = arrivalTime;
        this.time = time;
    }

    public int getActivityId() {
        return activityId;
    }

    public void setActivityId(int activityId) {
        this.activityId = activityId;
    }

    public String getUnionId() {
        return unionId;
    }

    public void setUnionId(String unionId) {
        this.unionId = unionId;
    }

    public int getRound() {
        return round;
    }

    public void setRound(int round) {
        this.round = round;
    }

    public int getLv() {
        return lv;
    }

    public void setLv(int lv) {
        this.lv = lv;
    }

    public long getDistance() {
        return distance;
    }

    public void setDistance(long distance) {
        this.distance = distance;
    }

    public long getTotalDurable() {
        return totalDurable;
    }

    public void setTotalDurable(long totalDurable) {
        this.totalDurable = totalDurable;
    }

    public long getArrivalTime() {
        return arrivalTime;
    }

    public void setArrivalTime(long arrivalTime) {
        this.arrivalTime = arrivalTime;
    }


    @Override
    public long getUserId() {
        return 0;
    }
}
